package com.atguigu.spzx.order.vo;

import com.atguigu.spzx.order.entity.OrderItem;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
@ApiModel(description = "结算实体类")
public class TradeRespVo {

    @ApiModelProperty(value = "结算总金额")
    private BigDecimal totalAmount;

    @ApiModelProperty(value = "结算商品列表")
    private List<TradeInnerOrderItem> orderItemList;

    @Data
    @ApiModel(description = "结算-商品")
    public static class TradeInnerOrderItem extends OrderItem {

    }

}
